package com.ship.system.api;

import com.ship.common.core.constant.ServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "conBpmResultService", value = ServiceNameConstants.CONTRACT_SERVICE)
public interface ConBpmResultService {
    @GetMapping("update/conResult")
    void updateConResult(@RequestParam("bussinedId") String bussinedId,@RequestParam("result") Integer result,@RequestParam("bpmKey") String bpmKey);


    @GetMapping("delete/conResult")
    void deleteConResult(@RequestParam("bussinedId") String bussinedId,@RequestParam("result") Integer result,@RequestParam("bpmKey") String bpmKey,@RequestParam("serveType") Integer serveType);


}
